# 添加头文件目录
include_directories(inc)
include_directories(${PROJECT_SOURCE_DIR}/src/modules/moduleA/inc)
include_directories(${PROJECT_SOURCE_DIR}/src/modules/moduleB/inc)

# 查找源文件
file(GLOB_RECURSE SOURCES "src/*.cpp")

# 创建库
add_library(apps STATIC ${SOURCES})

# 设置包含目录
target_include_directories(apps PUBLIC inc)

# 链接库
target_link_libraries(apps moduleA moduleB) 